import request from '../request/request';

// 获取景区数据
export const fetchScenicData = () => {
  return request({
    url: '/Scenic/index',
    method: 'post',
  });
};

// 获取票务数据
export const getScenicTickets = (scenicId) => {
  return request({
    url: '/Ticketing/index',
    method: 'post',
    data: {
      scenic_id: scenicId
    },
  });
};